package com.cqc.zhbjcqc.adapter;

import android.view.ViewGroup;
import android.widget.ImageView;

import java.util.List;

/**
 * Created by ${cqc} on 2016/9/27.
 */

public class GuildPagerAdapter extends BasePagerAdapter<ImageView> {

    public GuildPagerAdapter(List<ImageView> list) {
        super(list);
    }

    @Override
    public Object instantiateItem(ViewGroup container, int position) {
        container.addView(list.get(position));
        return list.get(position);
    }
}
